import request from '@/utils/request'

export const login = (data) => request.post('/sys/login', data)

export function getInfo(token) {
  return request.post('/sys/profile')
}

export const getDetail = (id) => request.get(`/sys/user/${id}`)

export function logout() {

}
